package com.fate.system.dto.tencent;

import com.fate.system.enums.PictureSizeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class TencentDTO {
  @Schema(description = "base64")
  @NotBlank(message = "图片不能为空")
  private String base64;

  @Schema(description = "rgb的r")
  @NotNull(message = "r不能为空")
  private Integer r;

  @Schema(description = "rgb的g")
  @NotNull(message = "g不能为空")
  private Integer g;

  @Schema(description = "rgb的b")
  @NotNull(message = "b不能为空")
  private Integer b;

  @Schema(description = "图片大小")
  @NotNull(message = "图片大小不能为空")
  private PictureSizeEnum size;
}
